package com.note.common.dto;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Package：com.note.common.dto
 * @Name：BucketPolicyConfigDto
 * @Author：热伊木
 * @Email：uyevan@163.com
 * @Date：2024-04-30-16:52
 * @Description：创建存储桶
 */
@Data
@Builder
@EqualsAndHashCode
public class BucketPolicyConfigDto {

    private String version;
    private List<Statement> statements;

    @Data
    @Builder
    @EqualsAndHashCode
    public static class Statement {
        private String Effect;
        private String Principal;
        private String Action;
        private String Resource;
    }
}
